import request from '@/utils/request'

// 查询服务类型(项目)管理列表
export function listHealthServiceType(query) {
  return request({
    url: '/health/healthServiceType/list',
    method: 'get',
    params: query
  })
}

// 查询服务类型(项目)管理详细
export function getHealthServiceType(id) {
  return request({
    url: '/health/healthServiceType/' + id,
    method: 'get'
  })
}

// 新增服务类型(项目)管理
export function addHealthServiceType(data) {
  return request({
    url: '/health/healthServiceType',
    method: 'post',
    data: data
  })
}

// 修改服务类型(项目)管理
export function updateHealthServiceType(data) {
  return request({
    url: '/health/healthServiceType',
    method: 'put',
    data: data
  })
}

// 删除服务类型(项目)管理
export function delHealthServiceType(id) {
  return request({
    url: '/health/healthServiceType/' + id,
    method: 'delete'
  })
}
